package com.zzty.zzlp.service;

import com.zzty.zzlp.entity.User;
import com.zzty.zzlp.entity.User_info;

import java.util.List;

public interface UserService {

    public Boolean addUserByMail(User user);

    public Boolean setState(Integer id);

    public User findUserByCode(String code);

    public Boolean delCode(Integer id);

    public Boolean searchRepeatedName(String name);

    public Boolean searchRepeatedEmail(String email);

    public Boolean searchRepeatedTel(String tel);

    public Boolean isRightUser(String accountNum,String password);

    public User searchUserByAccNum(String accountNum,String password);

    public Boolean addUserByTel(User user);

    public Boolean emailPwdRepaire(User user);

    public Boolean changePwdByMail(User user);

    public Boolean changePwdByTel(User user);

    public User searchUserByPwdRepaire(String pwdRepaire);

    public Boolean delPwdRepaire(Integer pwdRepaire);

    public User selectUserById(Integer id);

    public void addUserInfo(User_info uesrinfo);

    public User getUserByName(String name);
    public List<Integer> searchStuIdByClazzID(Integer classId);

    public void changPwdById(User user);
}
